routing.$inject = ['$urlRouterProvider', '$locationProvider',"$logProvider","cfpLoadingBarProvider","$cookiesProvider"];

export default function routing($urlRouterProvider, $locationProvider,$logProvider,cfpLoadingBarProvider,$cookiesProvider,ChartJsProvider) {
    $locationProvider.html5Mode(true);
    $urlRouterProvider.otherwise('login');
    $logProvider.debugEnabled(true);
    //禁用进度圆圈
    cfpLoadingBarProvider.includeSpinner = false;
    //禁用进度激光条
    //cfpLoadingBarProvider.includeBar = false;
    $cookiesProvider.secure=true;
    ChartJsProvider.setOptions({ colors : [ '#803690', '#00ADF9', '#DCDCDC', '#46BFBD', '#FDB45C', '#949FB1', '#4D5360'] });
}